[INFO] cloning repository https://github.com/freddiehaddad/inkbound
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/freddiehaddad/inkbound" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreddiehaddad%2Finkbound", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreddiehaddad%2Finkbound'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 526c6892272d451ce10b89d6b548f90b487d7c71
[INFO] fixing freddiehaddad/inkbound against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreddiehaddad%2Finkbound" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/freddiehaddad/inkbound
[INFO] finished tweaking git repo https://github.com/freddiehaddad/inkbound
[INFO] tweaked toml for git repo https://github.com/freddiehaddad/inkbound written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/freddiehaddad/inkbound on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/freddiehaddad/inkbound already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436
[INFO] running `Command { std: "docker" "start" "2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.53.1
[INFO] [stderr]     Checking windows-link v0.1.3
[INFO] [stderr]     Checking jiff v0.2.23
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking windows-result v0.3.4
[INFO] [stderr]     Checking windows-strings v0.3.1
[INFO] [stderr]     Checking windows-targets v0.53.5
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking env_filter v1.0.0
[INFO] [stderr]    Compiling windows-implement v0.59.0
[INFO] [stderr]    Compiling windows-interface v0.59.3
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]     Checking env_logger v0.11.9
[INFO] [stderr]     Checking windows-core v0.59.0
[INFO] [stderr]     Checking windows v0.59.0
[INFO] [stderr]     Checking clap v4.5.60
[INFO] [stderr]     Checking inkbound v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Graphics::Dwm::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::System::Threading::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::Foundation::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::System::Console::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::System::Threading::GetCurrentThreadId;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::UI::Accessibility::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::Win32::UI::HiDpi::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/window.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::core::PWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Graphics::Dwm::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::System::Threading::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/window.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::Foundation::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::System::Console::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows::Win32::System::Threading::GetCurrentThreadId;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows::Win32::UI::Accessibility::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows::Win32::UI::HiDpi::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/window.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::core::PWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]  --> src/window.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn get_window_title(hwnd: HWND) -> String {
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn get_process_name(hwnd: HWND) -> String {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_LIMITED_INFORMATION` in this scope
[INFO] [stdout]   --> src/window.rs:29:39
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let Ok(process) = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid) else {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_NAME_WIN32` in this scope
[INFO] [stdout]   --> src/window.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             PROCESS_NAME_WIN32,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn matches_target(hwnd: HWND, target: &str) -> bool {
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:75:30
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn is_valid_window(hwnd: HWND) -> bool {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn is_minimized(hwnd: HWND) -> bool {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn get_window_rect(hwnd: HWND) -> Option<(i32, i32, i32, i32)> {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope
[INFO] [stdout]   --> src/window.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             DWMWA_EXTENDED_FRAME_BOUNDS,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/window.rs:98:33
[INFO] [stdout]    |
[INFO] [stdout] 98 |             std::mem::size_of::<RECT>() as u32,
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn get_window_rect<RECT>(hwnd: HWND) -> Option<(i32, i32, i32, i32)> {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:115:53
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn find_matching_window(target: &str) -> Option<HWND> {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn find_matching_window<HWND>(target: &str) -> Option<HWND> {
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut windows: Vec<HWND> = Vec::new();
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn find_matching_window<HWND>(target: &str) -> Option<HWND> {
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:134:58
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/window.rs:134:72
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/window.rs:134:83
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 134 - unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout] 134 + unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> bool {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:136:51
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let windows = &mut *(lparam.0 as *mut Vec<HWND>);
[INFO] [stdout]     |                                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback<HWND>(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Tracking { hwnd: HWND },
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Suspended { hwnd: HWND },
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Tracking { hwnd: HWND },
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum State<HWND> {
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2` in this scope
[INFO] [stdout]   --> src/main.rs:88:47
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PHANDLER_ROUTINE` in this scope
[INFO] [stdout]    --> src/main.rs:135:22
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let handler: PHANDLER_ROUTINE = Some(ctrl_handler);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]    --> src/main.rs:189:40
[INFO] [stdout]     |
[INFO] [stdout] 189 | fn install_event_hooks() -> Result<Vec<HWINEVENTHOOK>> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 189 | fn install_event_hooks<HWINEVENTHOOK>() -> Result<Vec<HWINEVENTHOOK>> {
[INFO] [stdout]     |                       +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MOVESIZESTART` in this scope
[INFO] [stdout]    --> src/main.rs:193:10
[INFO] [stdout]     |
[INFO] [stdout] 193 |         (EVENT_SYSTEM_MOVESIZESTART, EVENT_SYSTEM_MOVESIZEEND),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MOVESIZEEND` in this scope
[INFO] [stdout]    --> src/main.rs:193:38
[INFO] [stdout]     |
[INFO] [stdout] 193 |         (EVENT_SYSTEM_MOVESIZESTART, EVENT_SYSTEM_MOVESIZEEND),
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope
[INFO] [stdout]    --> src/main.rs:194:10
[INFO] [stdout]     |
[INFO] [stdout] 194 |         (EVENT_SYSTEM_FOREGROUND, EVENT_SYSTEM_FOREGROUND),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope
[INFO] [stdout]    --> src/main.rs:194:35
[INFO] [stdout]     |
[INFO] [stdout] 194 |         (EVENT_SYSTEM_FOREGROUND, EVENT_SYSTEM_FOREGROUND),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_LOCATIONCHANGE` in this scope
[INFO] [stdout]    --> src/main.rs:195:10
[INFO] [stdout]     |
[INFO] [stdout] 195 |         (EVENT_OBJECT_LOCATIONCHANGE, EVENT_OBJECT_LOCATIONCHANGE),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_LOCATIONCHANGE` in this scope
[INFO] [stdout]    --> src/main.rs:195:39
[INFO] [stdout]     |
[INFO] [stdout] 195 |         (EVENT_OBJECT_LOCATIONCHANGE, EVENT_OBJECT_LOCATIONCHANGE),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope
[INFO] [stdout]    --> src/main.rs:196:10
[INFO] [stdout]     |
[INFO] [stdout] 196 |         (EVENT_OBJECT_SHOW, EVENT_OBJECT_HIDE),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_HIDE` in this scope
[INFO] [stdout]    --> src/main.rs:196:29
[INFO] [stdout]     |
[INFO] [stdout] 196 |         (EVENT_OBJECT_SHOW, EVENT_OBJECT_HIDE),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_DESTROY` in this scope
[INFO] [stdout]    --> src/main.rs:197:10
[INFO] [stdout]     |
[INFO] [stdout] 197 |         (EVENT_OBJECT_DESTROY, EVENT_OBJECT_DESTROY),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_DESTROY` in this scope
[INFO] [stdout]    --> src/main.rs:197:32
[INFO] [stdout]     |
[INFO] [stdout] 197 |         (EVENT_OBJECT_DESTROY, EVENT_OBJECT_DESTROY),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope
[INFO] [stdout]    --> src/main.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 WINEVENT_OUTOFCONTEXT,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]    --> src/main.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 |     _hook: HWINEVENTHOOK,
[INFO] [stdout]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:224:11
[INFO] [stdout]     |
[INFO] [stdout] 224 |     hwnd: HWND,
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_LOCATIONCHANGE` in this scope
[INFO] [stdout]    --> src/main.rs:231:17
[INFO] [stdout]     |
[INFO] [stdout] 231 |     if event == EVENT_OBJECT_LOCATIONCHANGE && id_object != OBJID_WINDOW {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:279:53
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn handle_location_change(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TIMERPROC` in this scope
[INFO] [stdout]    --> src/main.rs:288:31
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 let timer_fn: TIMERPROC = Some(debounce_timer_callback);
[INFO] [stdout]     |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:307:48
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn handle_foreground(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:322:42
[INFO] [stdout]     |
[INFO] [stdout] 322 | fn handle_show(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:346:42
[INFO] [stdout]     |
[INFO] [stdout] 346 | fn handle_hide(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:356:45
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn handle_destroy(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:372:37
[INFO] [stdout]     |
[INFO] [stdout] 372 | fn is_tracked(app: &AppState, hwnd: HWND) -> bool {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:376:53
[INFO] [stdout]     |
[INFO] [stdout] 376 | fn transition_to_tracking(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:382:45
[INFO] [stdout]     |
[INFO] [stdout] 382 | fn update_mapping(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:422:58
[INFO] [stdout]     |
[INFO] [stdout] 422 | unsafe extern "system" fn debounce_timer_callback(_hwnd: HWND, _msg: u32, _id: usize, _time: u32) {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:436:59
[INFO] [stdout]     |
[INFO] [stdout] 436 | unsafe extern "system" fn ctrl_handler(ctrl_type: u32) -> BOOL {
[INFO] [stdout]     |                                                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 436 - unsafe extern "system" fn ctrl_handler(ctrl_type: u32) -> BOOL {
[INFO] [stdout] 436 + unsafe extern "system" fn ctrl_handler(ctrl_type: u32) -> bool {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_C_EVENT` in this scope
[INFO] [stdout]    --> src/main.rs:437:21
[INFO] [stdout]     |
[INFO] [stdout] 437 |     if ctrl_type == CTRL_C_EVENT || ctrl_type == CTRL_CLOSE_EVENT || ctrl_type == CTRL_BREAK_EVENT {
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_CLOSE_EVENT` in this scope
[INFO] [stdout]    --> src/main.rs:437:50
[INFO] [stdout]     |
[INFO] [stdout] 437 |     if ctrl_type == CTRL_C_EVENT || ctrl_type == CTRL_CLOSE_EVENT || ctrl_type == CTRL_BREAK_EVENT {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_BREAK_EVENT` in this scope
[INFO] [stdout]    --> src/main.rs:437:83
[INFO] [stdout]     |
[INFO] [stdout] 437 |     if ctrl_type == CTRL_C_EVENT || ctrl_type == CTRL_CLOSE_EVENT || ctrl_type == CTRL_BREAK_EVENT {
[INFO] [stdout]     |                                                                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stdout]    --> src/main.rs:464:55
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]  --> src/window.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn get_window_title(hwnd: HWND) -> String {
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn get_process_name(hwnd: HWND) -> String {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_LIMITED_INFORMATION` in this scope
[INFO] [stdout]   --> src/window.rs:29:39
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let Ok(process) = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid) else {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_NAME_WIN32` in this scope
[INFO] [stdout]   --> src/window.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             PROCESS_NAME_WIN32,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn matches_target(hwnd: HWND, target: &str) -> bool {
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:75:30
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn is_valid_window(hwnd: HWND) -> bool {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn is_minimized(hwnd: HWND) -> bool {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn get_window_rect(hwnd: HWND) -> Option<(i32, i32, i32, i32)> {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope
[INFO] [stdout]   --> src/window.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             DWMWA_EXTENDED_FRAME_BOUNDS,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/window.rs:98:33
[INFO] [stdout]    |
[INFO] [stdout] 98 |             std::mem::size_of::<RECT>() as u32,
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn get_window_rect<RECT>(hwnd: HWND) -> Option<(i32, i32, i32, i32)> {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:115:53
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn find_matching_window(target: &str) -> Option<HWND> {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn find_matching_window<HWND>(target: &str) -> Option<HWND> {
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut windows: Vec<HWND> = Vec::new();
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn find_matching_window<HWND>(target: &str) -> Option<HWND> {
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:134:58
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/window.rs:134:72
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/window.rs:134:83
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 134 - unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout] 134 + unsafe extern "system" fn collect_windows_callback(hwnd: HWND, lparam: LPARAM) -> bool {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:136:51
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let windows = &mut *(lparam.0 as *mut Vec<HWND>);
[INFO] [stdout]     |                                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe extern "system" fn collect_windows_callback<HWND>(hwnd: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Tracking { hwnd: HWND },
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Suspended { hwnd: HWND },
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope
[INFO] [stdout]   --> src/window.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let len = GetWindowTextLengthW(hwnd);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Tracking { hwnd: HWND },
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | enum State<HWND> {
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2` in this scope
[INFO] [stdout]   --> src/main.rs:88:47
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]   --> src/window.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let actual = GetWindowTextW(hwnd, &mut buf);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PHANDLER_ROUTINE` in this scope
[INFO] [stdout]    --> src/main.rs:135:22
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let handler: PHANDLER_ROUTINE = Some(ctrl_handler);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]   --> src/window.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         GetWindowThreadProcessId(hwnd, Some(&mut pid));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]    --> src/main.rs:189:40
[INFO] [stdout]     |
[INFO] [stdout] 189 | fn install_event_hooks() -> Result<Vec<HWINEVENTHOOK>> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 189 | fn install_event_hooks<HWINEVENTHOOK>() -> Result<Vec<HWINEVENTHOOK>> {
[INFO] [stdout]     |                       +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MOVESIZESTART` in this scope
[INFO] [stdout]    --> src/main.rs:193:10
[INFO] [stdout]     |
[INFO] [stdout] 193 |         (EVENT_SYSTEM_MOVESIZESTART, EVENT_SYSTEM_MOVESIZEEND),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_MOVESIZEEND` in this scope
[INFO] [stdout]    --> src/main.rs:193:38
[INFO] [stdout]     |
[INFO] [stdout] 193 |         (EVENT_SYSTEM_MOVESIZESTART, EVENT_SYSTEM_MOVESIZEEND),
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope
[INFO] [stdout]    --> src/main.rs:194:10
[INFO] [stdout]     |
[INFO] [stdout] 194 |         (EVENT_SYSTEM_FOREGROUND, EVENT_SYSTEM_FOREGROUND),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/window.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let Ok(process) = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid) else {
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryFullProcessImageNameW` in this scope
[INFO] [stdout]   --> src/window.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let result = QueryFullProcessImageNameW(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/window.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let _ = CloseHandle(process);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope
[INFO] [stdout]    --> src/main.rs:194:35
[INFO] [stdout]     |
[INFO] [stdout] 194 |         (EVENT_SYSTEM_FOREGROUND, EVENT_SYSTEM_FOREGROUND),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_LOCATIONCHANGE` in this scope
[INFO] [stdout]    --> src/main.rs:195:10
[INFO] [stdout]     |
[INFO] [stdout] 195 |         (EVENT_OBJECT_LOCATIONCHANGE, EVENT_OBJECT_LOCATIONCHANGE),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_LOCATIONCHANGE` in this scope
[INFO] [stdout]    --> src/main.rs:195:39
[INFO] [stdout]     |
[INFO] [stdout] 195 |         (EVENT_OBJECT_LOCATIONCHANGE, EVENT_OBJECT_LOCATIONCHANGE),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope
[INFO] [stdout]    --> src/main.rs:196:10
[INFO] [stdout]     |
[INFO] [stdout] 196 |         (EVENT_OBJECT_SHOW, EVENT_OBJECT_HIDE),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_HIDE` in this scope
[INFO] [stdout]    --> src/main.rs:196:29
[INFO] [stdout]     |
[INFO] [stdout] 196 |         (EVENT_OBJECT_SHOW, EVENT_OBJECT_HIDE),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_DESTROY` in this scope
[INFO] [stdout]    --> src/main.rs:197:10
[INFO] [stdout]     |
[INFO] [stdout] 197 |         (EVENT_OBJECT_DESTROY, EVENT_OBJECT_DESTROY),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_DESTROY` in this scope
[INFO] [stdout]    --> src/main.rs:197:32
[INFO] [stdout]     |
[INFO] [stdout] 197 |         (EVENT_OBJECT_DESTROY, EVENT_OBJECT_DESTROY),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope
[INFO] [stdout]    --> src/main.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |                 WINEVENT_OUTOFCONTEXT,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWINEVENTHOOK` in this scope
[INFO] [stdout]    --> src/main.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 |     _hook: HWINEVENTHOOK,
[INFO] [stdout]     |            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:224:11
[INFO] [stdout]     |
[INFO] [stdout] 224 |     hwnd: HWND,
[INFO] [stdout]     |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENT_OBJECT_LOCATIONCHANGE` in this scope
[INFO] [stdout]    --> src/main.rs:231:17
[INFO] [stdout]     |
[INFO] [stdout] 231 |     if event == EVENT_OBJECT_LOCATIONCHANGE && id_object != OBJID_WINDOW {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]   --> src/window.rs:76:14
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { IsWindowVisible(hwnd).as_bool() && !IsIconic(hwnd).as_bool() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope
[INFO] [stdout]   --> src/window.rs:76:50
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { IsWindowVisible(hwnd).as_bool() && !IsIconic(hwnd).as_bool() }
[INFO] [stdout]    |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope
[INFO] [stdout]   --> src/window.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     unsafe { IsIconic(hwnd).as_bool() }
[INFO] [stdout]    |              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/window.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut rect = RECT::default();
[INFO] [stdout]    |                        ^^^^ use of undeclared type `RECT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:279:53
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn handle_location_change(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TIMERPROC` in this scope
[INFO] [stdout]    --> src/main.rs:288:31
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 let timer_fn: TIMERPROC = Some(debounce_timer_callback);
[INFO] [stdout]     |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:307:48
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn handle_foreground(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:322:42
[INFO] [stdout]     |
[INFO] [stdout] 322 | fn handle_show(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:346:42
[INFO] [stdout]     |
[INFO] [stdout] 346 | fn handle_hide(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:356:45
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn handle_destroy(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:372:37
[INFO] [stdout]     |
[INFO] [stdout] 372 | fn is_tracked(app: &AppState, hwnd: HWND) -> bool {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:376:53
[INFO] [stdout]     |
[INFO] [stdout] 376 | fn transition_to_tracking(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:382:45
[INFO] [stdout]     |
[INFO] [stdout] 382 | fn update_mapping(app: &mut AppState, hwnd: HWND) {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:422:58
[INFO] [stdout]     |
[INFO] [stdout] 422 | unsafe extern "system" fn debounce_timer_callback(_hwnd: HWND, _msg: u32, _id: usize, _time: u32) {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:436:59
[INFO] [stdout]     |
[INFO] [stdout] 436 | unsafe extern "system" fn ctrl_handler(ctrl_type: u32) -> BOOL {
[INFO] [stdout]     |                                                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 436 - unsafe extern "system" fn ctrl_handler(ctrl_type: u32) -> BOOL {
[INFO] [stdout] 436 + unsafe extern "system" fn ctrl_handler(ctrl_type: u32) -> bool {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_C_EVENT` in this scope
[INFO] [stdout]    --> src/main.rs:437:21
[INFO] [stdout]     |
[INFO] [stdout] 437 |     if ctrl_type == CTRL_C_EVENT || ctrl_type == CTRL_CLOSE_EVENT || ctrl_type == CTRL_BREAK_EVENT {
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_CLOSE_EVENT` in this scope
[INFO] [stdout]    --> src/main.rs:437:50
[INFO] [stdout]     |
[INFO] [stdout] 437 |     if ctrl_type == CTRL_C_EVENT || ctrl_type == CTRL_CLOSE_EVENT || ctrl_type == CTRL_BREAK_EVENT {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope
[INFO] [stdout]   --> src/window.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let got_rect = DwmGetWindowAttribute(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/window.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |             || GetWindowRect(hwnd, &mut rect).is_ok();
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/window.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let fg = unsafe { GetForegroundWindow() };
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/window.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             LPARAM(&raw mut windows as isize),
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTRL_BREAK_EVENT` in this scope
[INFO] [stdout]    --> src/main.rs:437:83
[INFO] [stdout]     |
[INFO] [stdout] 437 |     if ctrl_type == CTRL_C_EVENT || ctrl_type == CTRL_CLOSE_EVENT || ctrl_type == CTRL_BREAK_EVENT {
[INFO] [stdout]     |                                                                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope
[INFO] [stdout]    --> src/main.rs:464:55
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stdout]    --> src/window.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let _ = EnumWindows(
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/window.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     BOOL(1)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope
[INFO] [stdout]   --> src/main.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in this scope
[INFO] [stdout]    --> src/main.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         SetConsoleCtrlHandler(Some(handler), true).context("Failed to set console ctrl handler")?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWinEvent` in this scope
[INFO] [stdout]    --> src/main.rs:181:21
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let _ = UnhookWinEvent(hook);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope
[INFO] [stdout]    --> src/main.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             SetWinEventHook(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope
[INFO] [stdout]    --> src/main.rs:247:29
[INFO] [stdout]     |
[INFO] [stdout] 247 |                     let _ = KillTimer(None, DEBOUNCE_TIMER_ID);
[INFO] [stdout]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                     SetTimer(None, DEBOUNCE_TIMER_ID, DEBOUNCE_MS, Some(timer_fn));
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope
[INFO] [stdout]    --> src/main.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |         let _ = KillTimer(None, DEBOUNCE_TIMER_ID);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:464:64
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:464:75
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostThreadMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:464:25
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:468:16
[INFO] [stdout]     |
[INFO] [stdout] 468 |         return BOOL(1);
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:470:5
[INFO] [stdout]     |
[INFO] [stdout] 470 |     BOOL(0)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout]    --> src/main.rs:475:23
[INFO] [stdout]     |
[INFO] [stdout] 475 |         let mut msg = MSG::default();
[INFO] [stdout]     |                       ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:476:15
[INFO] [stdout]     |
[INFO] [stdout] 476 |         while GetMessageW(&mut msg, None, 0, 0).into() {
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]    --> src/main.rs:477:21
[INFO] [stdout]     |
[INFO] [stdout] 477 |             let _ = TranslateMessage(&msg);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:478:13
[INFO] [stdout]     |
[INFO] [stdout] 478 |             DispatchMessageW(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope
[INFO] [stdout]   --> src/window.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let len = GetWindowTextLengthW(hwnd);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]   --> src/window.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let actual = GetWindowTextW(hwnd, &mut buf);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]   --> src/window.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         GetWindowThreadProcessId(hwnd, Some(&mut pid));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/window.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let Ok(process) = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid) else {
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryFullProcessImageNameW` in this scope
[INFO] [stdout]   --> src/window.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let result = QueryFullProcessImageNameW(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/window.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let _ = CloseHandle(process);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]   --> src/window.rs:76:14
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { IsWindowVisible(hwnd).as_bool() && !IsIconic(hwnd).as_bool() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope
[INFO] [stdout]   --> src/window.rs:76:50
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { IsWindowVisible(hwnd).as_bool() && !IsIconic(hwnd).as_bool() }
[INFO] [stdout]    |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope
[INFO] [stdout]   --> src/window.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     unsafe { IsIconic(hwnd).as_bool() }
[INFO] [stdout]    |              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/window.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut rect = RECT::default();
[INFO] [stdout]    |                        ^^^^ use of undeclared type `RECT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope
[INFO] [stdout]   --> src/window.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let got_rect = DwmGetWindowAttribute(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/window.rs:101:16
[INFO] [stdout]     |
[INFO] [stdout] 101 |             || GetWindowRect(hwnd, &mut rect).is_ok();
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/window.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let fg = unsafe { GetForegroundWindow() };
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/window.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             LPARAM(&raw mut windows as isize),
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stdout]    --> src/window.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let _ = EnumWindows(
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/window.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     BOOL(1)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDpiAwarenessContext` in this scope
[INFO] [stdout]   --> src/main.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let _ = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in this scope
[INFO] [stdout]    --> src/main.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         SetConsoleCtrlHandler(Some(handler), true).context("Failed to set console ctrl handler")?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inkbound` (bin "inkbound" test) due to 94 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWinEvent` in this scope
[INFO] [stdout]    --> src/main.rs:181:21
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let _ = UnhookWinEvent(hook);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope
[INFO] [stdout]    --> src/main.rs:202:13
[INFO] [stdout]     |
[INFO] [stdout] 202 |             SetWinEventHook(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope
[INFO] [stdout]    --> src/main.rs:247:29
[INFO] [stdout]     |
[INFO] [stdout] 247 |                     let _ = KillTimer(None, DEBOUNCE_TIMER_ID);
[INFO] [stdout]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTimer` in this scope
[INFO] [stdout]    --> src/main.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                     SetTimer(None, DEBOUNCE_TIMER_ID, DEBOUNCE_MS, Some(timer_fn));
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KillTimer` in this scope
[INFO] [stdout]    --> src/main.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |         let _ = KillTimer(None, DEBOUNCE_TIMER_ID);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:464:64
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:464:75
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostThreadMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:464:25
[INFO] [stdout]     |
[INFO] [stdout] 464 |                 let _ = PostThreadMessageW(thread_id, WM_QUIT, WPARAM(0), LPARAM(0));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:468:16
[INFO] [stdout]     |
[INFO] [stdout] 468 |         return BOOL(1);
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BOOL` in this scope
[INFO] [stdout]    --> src/main.rs:470:5
[INFO] [stdout]     |
[INFO] [stdout] 470 |     BOOL(0)
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout]    --> src/main.rs:475:23
[INFO] [stdout]     |
[INFO] [stdout] 475 |         let mut msg = MSG::default();
[INFO] [stdout]     |                       ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:476:15
[INFO] [stdout]     |
[INFO] [stdout] 476 |         while GetMessageW(&mut msg, None, 0, 0).into() {
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]    --> src/main.rs:477:21
[INFO] [stdout]     |
[INFO] [stdout] 477 |             let _ = TranslateMessage(&msg);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:478:13
[INFO] [stdout]     |
[INFO] [stdout] 478 |             DispatchMessageW(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inkbound` (bin "inkbound") due to 94 previous errors
[INFO] running `Command { std: "docker" "inspect" "2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436", kill_on_drop: false }`
[INFO] [stdout] 2a512c822ba24def5c6348e1417ed579745bd9c4e1c539dc4b7bcfba302cb436
